
package com.tenentia.pcmps.swm.data.beans;

import org.apache.commons.beanutils.BeanUtils;

import com.tenentia.pcmps.swm.Constants;

/**
 * 
 * @author tEnEntia, S.L.N.E.
 * 
 */
public class PersonContactData {

	private Long internalID;

	private Long personFK;

	private String country;

	private String electronicMailAddress;

	private String floorNumber;

	private String hallNumber;

	private String doorNumber;
	
	private String stairsNumber;

	private String mobileTelephoneNumber;

	private String postalCode;

	private String telephoneNumber;

	private String town;

	private State state;

	private String wayName;

	private String wayNumber;

	private WayType wayType;

	public PersonContactData() {

		super();
	}

	@Override
	public String toString() {

		try {
			return BeanUtils.describe(this).toString();
		} catch (Exception e) {
			return Constants.STRING_EMPTY;
		}
	}

	/**
	 * @return the internalID
	 */
	public Long getInternalID() {

		return internalID;
	}

	/**
	 * @return the personFK
	 */
	public Long getPersonFK() {

		return personFK;
	}

	/**
	 * @return the country
	 */
	public String getCountry() {

		return country;
	}

	/**
	 * @return the electronicMailAddress
	 */
	public String getElectronicMailAddress() {

		return electronicMailAddress;
	}

	/**
	 * @return the floorNumber
	 */
	public String getFloorNumber() {

		return floorNumber;
	}

	/**
	 * @return the hallNumber
	 */
	public String getHallNumber() {

		return hallNumber;
	}

	/**
	 * @return the doorNumber
	 */
	public String getDoorNumber() {

		return doorNumber;
	}

	/**
	 * @return the mobileTelephoneNumber
	 */
	public String getMobileTelephoneNumber() {

		return mobileTelephoneNumber;
	}

	/**
	 * @return the postalCode
	 */
	public String getPostalCode() {

		return postalCode;
	}

	/**
	 * @return the telephoneNumber
	 */
	public String getTelephoneNumber() {

		return telephoneNumber;
	}

	/**
	 * @return the town
	 */
	public String getTown() {

		return town;
	}

	/**
	 * @return the wayName
	 */
	public String getWayName() {

		return wayName;
	}

	/**
	 * @return the wayNumber
	 */
	public String getWayNumber() {

		return wayNumber;
	}

	/**
	 * @param internalID
	 *            the internalID to set
	 */
	public void setInternalID(Long internalID) {

		this.internalID = internalID;
	}

	/**
	 * @param personFK
	 *            the personFK to set
	 */
	public void setPersonFK(Long personFK) {

		this.personFK = personFK;
	}

	/**
	 * @param country
	 *            the country to set
	 */
	public void setCountry(String country) {

		this.country = country;
	}

	/**
	 * @param electronicMailAddress
	 *            the electronicMailAddress to set
	 */
	public void setElectronicMailAddress(String electronicMailAddress) {

		this.electronicMailAddress = electronicMailAddress;
	}

	/**
	 * @param floorNumber
	 *            the floorNumber to set
	 */
	public void setFloorNumber(String floorNumber) {

		this.floorNumber = floorNumber;
	}

	/**
	 * @param hallNumber
	 *            the hallNumber to set
	 */
	public void setHallNumber(String hallNumber) {

		this.hallNumber = hallNumber;
	}

	/**
	 * @param doorNumber
	 *            the doorNumber to set
	 */
	public void setDoorNumber(String doorNumber) {

		this.doorNumber = doorNumber;
	}

	/**
	 * @param mobileTelephoneNumber
	 *            the mobileTelephoneNumber to set
	 */
	public void setMobileTelephoneNumber(String mobileTelephoneNumber) {

		this.mobileTelephoneNumber = mobileTelephoneNumber;
	}

	/**
	 * @param postalCode
	 *            the postalCode to set
	 */
	public void setPostalCode(String postalCode) {

		this.postalCode = postalCode;
	}

	/**
	 * @param telephoneNumber
	 *            the telephoneNumber to set
	 */
	public void setTelephoneNumber(String telephoneNumber) {

		this.telephoneNumber = telephoneNumber;
	}

	/**
	 * @param town
	 *            the town to set
	 */
	public void setTown(String town) {

		this.town = town;
	}

	/**
	 * @param wayName
	 *            the wayName to set
	 */
	public void setWayName(String wayName) {

		this.wayName = wayName;
	}

	/**
	 * @param wayNumber
	 *            the wayNumber to set
	 */
	public void setWayNumber(String wayNumber) {

		this.wayNumber = wayNumber;
	}

	/**
	 * @param state the state to set
	 */
	public void setState(State state) {
		this.state = state;
	}

	/**
	 * @return the state
	 */
	public State getState() {
		return state;
	}

	/**
	 * @param wayType the wayType to set
	 */
	public void setWayType(WayType wayType) {
		this.wayType = wayType;
	}

	/**
	 * @return the wayType
	 */
	public WayType getWayType() {
		return wayType;
	}

	/**
	 * @param stairsNumber the stairsNumber to set
	 */
	public void setStairsNumber(String stairsNumber) {
		this.stairsNumber = stairsNumber;
	}

	/**
	 * @return the stairsNumber
	 */
	public String getStairsNumber() {
		return stairsNumber;
	}

}
